package com.yusi.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.yusi.entity.Airplane;
import com.yusi.entity.FlightMana;
import org.apache.ibatis.annotations.Param;

import java.time.LocalDate;
import java.util.List;

/**
 * <p>
 *  Mapper 接口
 * </p>
 *
 * @author yusi
 * @since 2022-01-06
 */
public interface FlightManaMapper extends BaseMapper<FlightMana> {

    IPage<FlightMana> getAirPort(Page<FlightMana> page,@Param("input")String input, @Param("flightMana") FlightMana flightMana, @Param("beginDateScope") LocalDate[] beginDateScope);

    List<FlightMana> getairbydis(Double dis);
}
